package com.biz.primus.ms.geo.dao.po;

import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;

/**
 * 地标
 *
 * @author defei
 */
@Data
@Entity
@Table(name = "geo_landmark", indexes = {@Index(columnList = "provinceId"), @Index(columnList = "cityId"), @Index(columnList = "districtId")})
public class LandMark {

    @Id
    @Column(length = 180)
    private String id;

    @Column
    private String provinceId;

    @Column
    private Integer cityId;

    @Column
    private Integer districtId;

    @Column
    private BigDecimal lat;

    @Column
    private BigDecimal lon;

    @Column
    private String address;

    @Column
    private Integer level;

    @Column
    private String name;

    @Column(name = "poi_type")
    private String poiType;

    @Column
    private Integer times;


}
